package com.miyu.common.pojo.cos;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 系统dict
 *
 * @author MIYU
 * @date 2022/06/04
 */
@ApiModel(value = "系统表",description = "")
@Data
@Entity
@Table(name="cos_dict")
public class CosDict  implements Serializable,Cloneable{
    /** 主键;主键 */
    @Id
    @ApiModelProperty(name = "主键",notes = "主键")
    @Column(name = "dict_id", nullable = false, length = 32)
    private String dictId ;
    /** 表名;对应表名 */
    @ApiModelProperty(name = "表名",notes = "对应表名")
    @Column(name = "dict_table", nullable = false, length = 90)
    private String dictTable ;
    /** 名称;名称 */
    @ApiModelProperty(name = "名称",notes = "名称")
    @Column(name = "dict_name", nullable = false, length = 90)
    private String dictName ;
    /** 注释;注释 */
    @ApiModelProperty(name = "注释",notes = "注释")
    @Column(name = "dict_mark", nullable = true, length = 100)
    private String dictMark ;
    /** 列明;表对应列 */
    @ApiModelProperty(name = "列明",notes = "表对应列")
    @Column(name = "dict_columns", nullable = false, length = 8000)
    private String dictColumns ;
    /** 数据类型;数据类型 */
    @ApiModelProperty(name = "数据类型",notes = "数据类型")
    @Column(name = "dict_type", nullable = false, length = 50)
    private String dictType ;


}
